# Maintainer: Antonio Rojas <arojas@archlinux.org>

pkgname=mauikit-documents
pkgver=1.0.1
pkgrel=1
pkgdesc='MauiKit QtQuick plugins for text editing'
url='https://mauikit.org/'
arch=(loong64 x86_64)
license=(LGPL)
depends=(mauikit kio kfilemetadata)
makedepends=(extra-cmake-modules poppler-qt5)
source=(https://download.kde.org/stable/maui/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz)
sha256sums=('adead3ac55787e67845f48299927e0a53053f65ecb4f47a65cc041479bb6df65')

build() {
  cmake -B build -S $pkgname-$pkgver
  cmake --build build
}

package() {
  DESTDIR="$pkgdir" cmake --install build
}
